package com.sc.ppx_api.service.impl;

import com.sc.ppx_api.pojo.Content;
import com.sc.ppx_api.dao.IContentDao;
import com.sc.ppx_api.service.IContentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 帖子信息表 服务实现类
 * </p>
 *
 * @author victory
 * @since 2025-09-23 02:48:44
 */
@Service
public class ContentServiceImpl extends ServiceImpl<IContentDao, Content> implements IContentService {


    @Autowired
    IContentDao postsDao;
    @Override
    public List<Content> listByType(String type) {
      return  postsDao.listByType(type);
    }
}
